package com.sugar.real.estate.module.business.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BizUserRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25280")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("昵称")
    private String nickname;

    @Schema(description = "头像")
    @ExcelProperty("头像")
    private String avatar;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("手机号")
    private String mobile;

    @Schema(description = "微信OpenID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3179")
    @ExcelProperty("微信OpenID")
    private String openId;

    @Schema(description = "账户状态（1正常 0封禁）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("账户状态（1正常 0封禁）")
    private Boolean status;

    @Schema(description = "最近一次登录时间")
    @ExcelProperty("最近一次登录时间")
    private LocalDateTime lastLoginTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}